import Layout from '@/page/layout/'

export default [
  {
    path: '/',
    component: Layout,
    redirect: '/',
    children: [
      {
        path: '/',
        name: 'home',
        component: () => import(/* webpackChunkName: "views" */ '@/views/home/index')
      },
      {
        path: '/category',
        name: 'category',
        component: () => import(/* webpackChunkName: "views" */ '@/views/category/index')
      },
      {
        path: '/issueNews',
        name: 'issueNews',
        component: () => import(/* webpackChunkName: "views" */ '@/views/issueNews/index')
      },
      {
        path: '/login',
        name: 'login',
        component: () => import(/* webpackChunkName: "views" */ '@/views/login/index')
      },
      {
        path: '/report',
        name: 'report',
        component: () => import(/* webpackChunkName: "views" */ '@/views/report/index')
      },
      {
        path: '/newsDetail',
        name: 'newsDetail',
        component: () => import(/* webpackChunkName: "views" */ '@/views/newsDetail/index')
      }
    ]
  }
]
